/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package other;

/**
 *
 * @author alessandro
 */
import java.io.Serializable;

public class TextModel implements Serializable {
	private String text;
	private String message;

	public TextModel() {
	}

	public TextModel(String text, String message) {
		this.text = text;
		this.message = message;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
	public String toString() {
		return text;
	}
}